package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Housechold;

/**
 * 户口立户Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-15
 */
public interface HousecholdMapper 
{
    /**
     * 查询户口立户
     * 
     * @param id 户口立户主键
     * @return 户口立户
     */
    public Housechold selectHousecholdById(Long id);

    /**
     * 查询户口立户列表
     * 
     * @param housechold 户口立户
     * @return 户口立户集合
     */
    public List<Housechold> selectHousecholdList(Housechold housechold);

    /**
     * 新增户口立户
     * 
     * @param housechold 户口立户
     * @return 结果
     */
    public int insertHousechold(Housechold housechold);

    /**
     * 修改户口立户
     * 
     * @param housechold 户口立户
     * @return 结果
     */
    public int updateHousechold(Housechold housechold);

    /**
     * 删除户口立户
     * 
     * @param id 户口立户主键
     * @return 结果
     */
    public int deleteHousecholdById(Long id);

    /**
     * 批量删除户口立户
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHousecholdByIds(String[] ids);
}
